/**
 * jims
 */
package com.jims.master.modules.reg.dao;

import com.jims.master.common.persistence.CrudDao;
import com.jims.master.common.persistence.annotation.MyBatisDao;
import com.jims.master.modules.reg.entity.ClinicSchedule;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 出诊安排DAO接口
 *
 * @author CHENXY
 * @version 2017-02-27
 */
@MyBatisDao
public interface ClinicScheduleDao extends CrudDao<ClinicSchedule> {

    /**
     * 根据号别Id删除出诊安排
     *
     * @param clinicIndexId
     * @return
     * @Author chenxy
     */
    public int deleteByClinicIndexId(@Param("clinicIndexId") String clinicIndexId);

    /**
     * 根据号别Id查询出诊安排
     *
     * @param clinicIndexId
     * @return
     * @Author chenxy
     */
    public List<ClinicSchedule> getByClinicIndexId(@Param("clinicIndexId") String clinicIndexId);
}